package com.ysqcould.members.domain;


import com.ysqcould.common.annotation.Excel;
import com.ysqcould.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 圈子对象 t_circle
 * 
 * @author ruoyi
 * @date 2022-06-29
 */
public class Circle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 协会id */
    @Excel(name = "协会id")
    private Long asId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String pcUrl;

    /** 简短文字内容 */
    @Excel(name = "简短文字内容")
    private String content;

    /** 富文本内容 */
    @Excel(name = "富文本内容")
    private String complexText;

    /** 发布地址 */
    @Excel(name = "发布地址")
    private String address;

    /** 状态（字典 0正常 1冻结 2删除） */
    @Excel(name = "状态", readConverterExp = "字=典,0=正常,1=冻结,2=删除")
    private Long status;

    /** 是否匿名（0否，1是） */
    @Excel(name = "是否匿名", readConverterExp = "0=否，1是")
    private Long isAnony;

    /** 类型：1圈子 2新闻 3 普通活动 4义工活动 5捐赠活动 */
    @Excel(name = "类型：1圈子 2新闻 3 普通活动 4义工活动 5捐赠活动")
    private Long type;

    /** 根据类型活动指向该表的id,0为圈子本身id  */
    @Excel(name = "根据类型活动指向该表的id,0为圈子本身id ")
    private Long typeId;

    /** 分享其它内容 */
    @Excel(name = "分享其它内容")
    private String otherContent;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAsId(Long asId) 
    {
        this.asId = asId;
    }

    public Long getAsId() 
    {
        return asId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setPcUrl(String pcUrl) 
    {
        this.pcUrl = pcUrl;
    }

    public String getPcUrl() 
    {
        return pcUrl;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setComplexText(String complexText) 
    {
        this.complexText = complexText;
    }

    public String getComplexText() 
    {
        return complexText;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setIsAnony(Long isAnony) 
    {
        this.isAnony = isAnony;
    }

    public Long getIsAnony() 
    {
        return isAnony;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setOtherContent(String otherContent) 
    {
        this.otherContent = otherContent;
    }

    public String getOtherContent() 
    {
        return otherContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("asId", getAsId())
            .append("userId", getUserId())
            .append("pcUrl", getPcUrl())
            .append("content", getContent())
            .append("complexText", getComplexText())
            .append("address", getAddress())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .append("isAnony", getIsAnony())
            .append("type", getType())
            .append("typeId", getTypeId())
            .append("otherContent", getOtherContent())
            .toString();
    }
}
